<!-- 404 -->
<template>
  <div class="page-404">
    <div class="err-img"></div>
    <el-button type="primary" plain @click="herfto('index')">返回首页</el-button>
  </div>
</template>

<script>
export default {
  name: 'err-404',
  components: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  methods: {
    herfto(name) {
      this.$router.push(`/${name}`)
    }
  },
  created() {},
  mounted() {}
}
</script>

<style lang='less' scoped>
.page-404 {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;

  .err-img {
    width: 918px;
    height: 728px;
    background-image: url('../../assets/img/404.png');
    background-repeat: no-repeat;
    background-position: center;
  }

  .el-button {
    width: 204px;
    height: 70px;
    font-size: 24px;
  }
}
</style>